/**
 * Created with IntelliJ IDEA.
 * Description: 插入二进制
 * User: 86187
 * Date: 2022-10-26
 * Time: 22:10
 */
public class BinInsert {
    public static int binInsert(int n, int m, int j, int i) {
        // write code here
        m <<= j;
        return m | n;
    }

    public static void main(String[] args) {
        System.out.println(binInsert(1024, 19, 2, 6));
    }
}
